﻿using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UwinEducation.Application.Mappings;

namespace UwinEducation.Application.Extensions
{
    public static class AutoMapperConfiguration
    {
        public static void AddAutoMapperExt(this IServiceCollection services)
        {
            services.AddAutoMapper(
                typeof(RoleProfile),
                typeof(UserProfile),
                typeof(ClassroomProfile),
                typeof(CourseProfile),
                typeof(TermProfile),
                typeof(StudentProfile),
                typeof(TeacherProfile),
                typeof(AppointmentProfile),
                typeof(TeacherAvailabilityProfile),
                typeof(StudentScheduleProfile),
                typeof(OrderProfile),
                typeof(OrderDetailProfile),
                typeof(StudentScheduleDetailsProfile),
                typeof(OrderDiscountProfile)

                
            );
        }
    }

}
